home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmClipboardInquireLength.z
/
XmClipboardInquireLength
Wrap
Text File
|
1998-10-20
|
7KB
|
133 lines
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh - A clipboard function that returns
the length of the stored data
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////CCCCuuuuttttPPPPaaaasssstttteeee....hhhh>>>>
iiiinnnntttt XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh ((((_d_i_s_p_l_a_y, _w_i_n_d_o_w, _f_o_r_m_a_t__n_a_m_e, _l_e_n_g_t_h))))
DDDDiiiissssppppllllaaaayyyy * _d_i_s_p_l_a_y;;;;
WWWWiiiinnnnddddoooowwww _w_i_n_d_o_w;;;;
cccchhhhaaaarrrr * _f_o_r_m_a_t__n_a_m_e;;;;
uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg* _l_e_n_g_t_h;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh returns the length of the data
stored under a specified format name for the clipboard data
item. If no data is found for the specified format, or if
there is no item on the clipboard, this function returns a
value of zero.
Any format passed by name is assumed to have the _l_e_n_g_t_h
passed in a call to XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddCCCCooooppppyyyy, even though the data
has not yet been transferred to the clipboard in that
format.
_d_i_s_p_l_a_y Specifies a pointer to the DDDDiiiissssppppllllaaaayyyy structure
that was returned in a previous call to
XXXXOOOOppppeeeennnnDDDDiiiissssppppllllaaaayyyy or XXXXttttDDDDiiiissssppppllllaaaayyyy.
_w_i_n_d_o_w Specifies a widget's window ID that relates the
application window to the clipboard. The
widget's window ID can be obtained by using
XXXXttttWWWWiiiinnnnddddoooowwww. The same application instance should
pass the same window ID to each of the clipboard
functions that it calls.
_f_o_r_m_a_t__n_a_m_e Specifies the name of the format for the data
item.
_l_e_n_g_t_h Specifies the length of the next data item in
the specified format. This argument equals zero
if no data is found for the specified format, or
if there is no item on the clipboard.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 4444////33330000////99998888))))
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeeLLLLeeeennnnggggtttthhhh((((3333XXXX))))
CCCClllliiiippppbbbbooooaaaarrrrddddSSSSuuuucccccccceeeessssssss
The function is successful.
CCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkkeeeedddd
The function failed because the clipboard was
locked by another application. The application
can continue to call the function again with the
same parameters until the lock goes away. This
gives the application the opportunity to ask if
the user wants to keep trying or to give up on
the operation.
CCCClllliiiippppbbbbooooaaaarrrrddddNNNNooooDDDDaaaattttaaaa
The function could not find data on the
clipboard corresponding to the format requested.
This could occur because the clipboard is empty;
there is data on the clipboard but not in the
requested format; or the data in the requested
format was passed by name and is no longer
available.
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddCCCCooooppppyyyy((((3333XXXX)))) and XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttCCCCooooppppyyyy((((3333XXXX)))).
Page 2 (printed 4/30/98)